import request from '@/utils/request'
const baseURL = "http://127.0.0.1:3006"

export function classifyList(params) {
    return request({
        url: '/api/category/list',
        method: 'get',
        baseURL
    })
}

export function delClassify(data) {
    return request({
        url: '/api/category/del',
        method: 'post',
        baseURL,
        data
    })
}


export function addClassify(data) {
    return request({
        url: '/api/category/add',
        method: 'post',
        baseURL,
        data
    })
}